package csc.daonjpa.java.dao;

import java.util.List;

import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import javax.persistence.TypedQuery;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import csc.daonjpa.java.domain.Account;
import csc.daonjpa.java.domain.Customer;

/**
 * DAO class for Account entity. This class contains all methods that
 * inserts/updates/deletes account info
 * 
 * @author nvu3
 *
 */

public interface AccountDAO {
	
	public List<Account> getAccounts();
	
	public boolean addAccount(Account account);
	
	public List<Account> getAccounts(String loginId);
	
	public Account getAccount(String accountNumber, String loginId);
	
	public boolean updateAccount(Account account);
	

}
